package com.jiangyg.mall.cart.vo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 类描述：购物车信息
 *
 * @author jiangyg
 * @date 2022-12-11
 */
@Data
@EqualsAndHashCode
@NoArgsConstructor
public class CartVO implements Serializable {

    private static final long serialVersionUID = 2195246929866027918L;

    /**
     * 购物车总价
     */
    private double amount;

    /**
     * 数据项列表
     */
    private List<CartItemVO> itemList;

}
